<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>招聘会列表 - 多筛选样式</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome 图标 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <style>
        :root {
            --primary: #4263eb;
            --primary-light: #5a75f0;
            --secondary: #fa5252;
            --success: #38b000;
            --warning: #ff922b;
            --text-primary: #212529;
            --text-secondary: #495057;
            --text-tertiary: #868e96;
            --bg-light: #f8f9fa;
            --bg-white: #ffffff;
            --border-light: #dee2e6;
            --radius: 10px;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            padding-top: 56px;
            padding-bottom: 60px;
        }
        
        /* 顶部导航 */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }
        
        .nav-title {
            font-size: 18px;
            font-weight: 600;
            text-align: center;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .nav-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 20px;
        }
        
        .nav-btn.primary {
            color: var(--primary);
        }
        
        /* 搜索区域 */
        .search-container {
            padding: 12px 16px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
        }
        
        .search-group {
            position: relative;
        }
        
        .search-input {
            width: 100%;
            padding: 10px 16px 10px 44px;
            border-radius: 24px;
            border: 1px solid var(--border-light);
            background-color: var(--bg-light);
            font-size: 14px;
            transition: all 0.2s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            background-color: var(--bg-white);
            box-shadow: 0 0 0 2px rgba(66, 99, 235, 0.1);
        }
        
        .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-tertiary);
            font-size: 16px;
        }
        
        /* 筛选标签栏 - 第一种筛选样式 */
        .filter-tags {
            padding: 8px 16px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            overflow-x: auto;
            scrollbar-width: none;
        }
        
        .filter-tags::-webkit-scrollbar {
            display: none;
        }
        
        .tags-wrapper {
            display: flex;
            gap: 8px;
            padding-bottom: 4px;
            white-space: nowrap;
        }
        
        .filter-tag {
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 13px;
            background-color: var(--bg-light);
            color: var(--text-secondary);
            border: none;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
        }
        
        .filter-tag.active {
            background-color: var(--primary);
            color: white;
        }
        
        .filter-tag .icon {
            font-size: 14px;
        }
        
        /* 分类筛选栏 - 第二种筛选样式 */
        .category-filters {
            display: flex;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            overflow-x: auto;
        }
        
        .category-item {
            flex: 1;
            min-width: 60px;
            padding: 12px 0;
            text-align: center;
            font-size: 14px;
            color: var(--text-secondary);
            border: none;
            background: none;
            position: relative;
        }
        
        .category-item.active {
            color: var(--primary);
            font-weight: 500;
        }
        
        .category-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background-color: var(--primary);
            border-radius: 3px 3px 0 0;
        }
        
        /* 筛选抽屉 - 第三种筛选样式 */
        .filter-drawer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--bg-white);
            border-top-left-radius: var(--radius);
            border-top-right-radius: var(--radius);
            box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
            z-index: 1010;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            max-height: 85vh;
            overflow-y: auto;
        }
        
        .filter-drawer.open {
            transform: translateY(0);
        }
        
        .drawer-header {
            padding: 16px;
            border-bottom: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .drawer-title {
            font-size: 18px;
            font-weight: 600;
        }
        
        .drawer-close {
            background: none;
            border: none;
            font-size: 20px;
            color: var(--text-tertiary);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .drawer-content {
            padding: 16px;
        }
        
        .filter-section {
            margin-bottom: 24px;
        }
        
        .section-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .section-title i {
            color: var(--primary);
        }
        
        .options-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .filter-option {
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 14px;
            border: 1px solid var(--border-light);
            background-color: var(--bg-white);
            color: var(--text-secondary);
            transition: all 0.2s ease;
        }
        
        .filter-option.active {
            border-color: var(--primary);
            background-color: rgba(66, 99, 235, 0.1);
            color: var(--primary);
        }
        
        .date-range {
            display: flex;
            gap: 12px;
            margin-top: 10px;
        }
        
        .date-input {
            flex: 1;
            padding: 10px;
            border-radius: 6px;
            border: 1px solid var(--border-light);
            font-size: 14px;
            color: var(--text-secondary);
        }
        
        .drawer-actions {
            padding: 16px;
            border-top: 1px solid var(--border-light);
            display: flex;
            gap: 12px;
        }
        
        .drawer-btn {
            flex: 1;
            padding: 12px 0;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .reset-btn {
            background-color: var(--bg-light);
            color: var(--text-secondary);
            border: none;
        }
        
        .reset-btn:hover {
            background-color: #e9ecef;
        }
        
        .apply-btn {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        .apply-btn:hover {
            background-color: var(--primary-light);
        }
        
        /* 遮罩层 */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1005;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        
        .overlay.show {
            opacity: 1;
            pointer-events: auto;
        }
        
        /* 招聘会列表 */
        .fair-list {
            padding: 12px;
        }
        
        .fair-card {
            background-color: var(--bg-white);
            border-radius: var(--radius);
            margin-bottom: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.2s ease;
        }
        
        .fair-card:hover {
            transform: translateY(-2px);
        }
        
        .fair-card.no-image {
            padding: 16px;
        }
        
        .fair-card.single-image .image-container {
            height: 180px;
            overflow: hidden;
        }
        
        .fair-card.multi-image .image-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
        }
        
        .fair-image {
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .fair-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .fair-card:hover .fair-image img {
            transform: scale(1.03);
        }
        
        .fair-content {
            padding: 16px;
        }
        
        .fair-status {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
            margin-bottom: 8px;
        }
        
        .status-upcoming {
            background-color: rgba(56, 176, 0, 0.1);
            color: var(--success);
        }
        
        .status-live {
            background-color: rgba(250, 82, 82, 0.1);
            color: var(--secondary);
            animation: pulse 1.5s infinite;
        }
        
        .status-ended {
            background-color: rgba(134, 142, 150, 0.1);
            color: var(--text-tertiary);
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.6; }
            100% { opacity: 1; }
        }
        
        .fair-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .fair-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 12px;
            color: var(--text-tertiary);
            margin-bottom: 10px;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .fair-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 12px;
        }
        
        .fair-tag {
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 12px;
            background-color: var(--bg-light);
            color: var(--text-secondary);
        }
        
        .fair-stats {
            display: flex;
            gap: 16px;
            font-size: 12px;
            color: var(--text-tertiary);
            padding-top: 10px;
            border-top: 1px solid var(--border-light);
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .fair-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 12px;
        }
        
        .action-btn {
            padding: 6px 16px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
        }
        
        .btn-primary {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-light);
        }
        
        .btn-outline {
            background-color: transparent;
            color: var(--primary);
            border: 1px solid var(--primary);
        }
        
        .btn-outline:hover {
            background-color: rgba(66, 99, 235, 0.05);
        }
        
        /* 空状态 */
        .empty-state {
            padding: 80px 20px;
            text-align: center;
            display: none;
        }
        
        .empty-state.active {
            display: block;
        }
        
        .empty-icon {
            font-size: 60px;
            color: var(--text-tertiary);
            margin-bottom: 20px;
        }
        
        .empty-text {
            font-size: 16px;
            color: var(--text-secondary);
            margin-bottom: 24px;
        }
        
        .empty-btn {
            padding: 10px 24px;
            border-radius: 24px;
            background-color: var(--primary);
            color: white;
            border: none;
            font-size: 14px;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid var(--border-light);
            z-index: 1000;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-tertiary);
            font-size: 11px;
            gap: 4px;
            text-decoration: none;
            flex: 1;
        }
        
        .nav-item.active {
            color: var(--primary);
        }
        
        .nav-icon {
            font-size: 20px;
        }
        
        /* 筛选标签 */
        .active-filters {
            padding: 10px 16px;
            background-color: rgba(66, 99, 235, 0.05);
            border-bottom: 1px solid var(--border-light);
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            display: none;
        }
        
        .active-filters.show {
            display: flex;
        }
        
        .active-filter-tag {
            background-color: white;
            padding: 4px 12px;
            border-radius: 16px;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--text-secondary);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }
        
        .remove-filter {
            background: none;
            border: none;
            color: var(--text-tertiary);
            font-size: 14px;
            cursor: pointer;
        }
        
        .clear-all {
            color: var(--primary);
            font-size: 13px;
            background: none;
            border: none;
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* 提示消息 */
        .toast {
            position: fixed;
            bottom: 70px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 16px;
            border-radius: 4px;
            z-index: 9999;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .toast.show {
            opacity: 1;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="top-nav">
        <button class="nav-btn" id="backBtn">
            <i class="fas fa-arrow-left"></i>
        </button>
        <div class="nav-title">招聘会列表</div>
        <button class="nav-btn primary" id="advancedFilterBtn">
            <i class="fas fa-sliders-h"></i>
        </button>
    </div>
    
    <!-- 搜索区域 - 基础搜索筛选 -->
    <div class="search-container">
        <div class="search-group">
            <i class="fas fa-search search-icon"></i>
            <input type="text" class="search-input" placeholder="搜索招聘会、企业或岗位...">
        </div>
    </div>
    
    <!-- 分类筛选栏 - 第二种筛选样式 -->
    <div class="category-filters">
        <button class="category-item active">全部</button>
        <button class="category-item">综合类</button>
        <button class="category-item">校园</button>
        <button class="category-item">社会</button>
        <button class="category-item">线上</button>
        <button class="category-item">行业专场</button>
    </div>
    
    <!-- 筛选标签栏 - 第一种筛选样式 -->
    <div class="filter-tags">
        <div class="tags-wrapper">
            <button class="filter-tag active">
                <span>全部时间</span>
            </button>
            <button class="filter-tag">
                <i class="far fa-clock icon"></i>
                <span>今天</span>
            </button>
            <button class="filter-tag">
                <i class="far fa-clock icon"></i>
                <span>明天</span>
            </button>
            <button class="filter-tag">
                <i class="far fa-clock icon"></i>
                <span>本周</span>
            </button>
            <button class="filter-tag">
                <i class="far fa-clock icon"></i>
                <span>下周</span>
            </button>
            <button class="filter-tag">
                <i class="far fa-clock icon"></i>
                <span>本月</span>
            </button>
        </div>
    </div>
    
    <div class="filter-tags">
        <div class="tags-wrapper">
            <button class="filter-tag active">
                <span>全部地点</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-map-marker-alt icon"></i>
                <span>北京</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-map-marker-alt icon"></i>
                <span>上海</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-map-marker-alt icon"></i>
                <span>广州</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-map-marker-alt icon"></i>
                <span>深圳</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-map-marker-alt icon"></i>
                <span>杭州</span>
            </button>
            <button class="filter-tag">
                <i class="fas fa-globe icon"></i>
                <span>线上</span>
            </button>
        </div>
    </div>
    
    <!-- 已选筛选条件展示 -->
    <div class="active-filters" id="activeFilters">
        <div class="active-filter-tag">
            <span>时间: 本周</span>
            <button class="remove-filter"><i class="fas fa-times"></i></button>
        </div>
        <div class="active-filter-tag">
            <span>地点: 北京</span>
            <button class="remove-filter"><i class="fas fa-times"></i></button>
        </div>
        <button class="clear-all">
            <i class="fas fa-trash-alt"></i>
            <span>清除全部</span>
        </button>
    </div>
    
    <!-- 招聘会列表 -->
    <div class="fair-list" id="fairList">
        <!-- 多图样式招聘会 -->
        <div class="fair-card multi-image">
            <div class="image-container">
                <div class="fair-image">
                    <img src="https://picsum.photos/id/26/400/300" alt="招聘会现场">
                </div>
                <div class="fair-image">
                    <img src="https://picsum.photos/id/28/400/300" alt="招聘会现场">
                </div>
                <div class="fair-image">
                    <img src="https://picsum.photos/id/42/400/300" alt="招聘会现场">
                </div>
            </div>
            <div class="fair-content">
                <span class="fair-status status-upcoming">即将开始</span>
                <h3 class="fair-title">2023年秋季大型综合人才招聘会</h3>
                <div class="fair-meta">
                    <div class="meta-item">
                        <i class="far fa-calendar-alt"></i>
                        <span>10月28日 09:00-16:00</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-map-marker-alt"></i>
                        <span>北京国际会议中心</span>
                    </div>
                </div>
                <div class="fair-tags">
                    <span class="fair-tag">综合类</span>
                    <span class="fair-tag">线下</span>
                    <span class="fair-tag">500+企业</span>
                </div>
                <div class="fair-stats">
                    <div class="stat-item">
                        <i class="fas fa-building"></i>
                        <span>528家企业</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-user-friends"></i>
                        <span>12543人已报名</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-briefcase"></i>
                        <span>10326个岗位</span>
                    </div>
                </div>
                <div class="fair-actions">
                    <button class="action-btn btn-outline">
                        <i class="far fa-bell"></i>
                        <span>提醒我</span>
                    </button>
                    <button class="action-btn btn-primary">
                        <i class="fas fa-ticket-alt"></i>
                        <span>报名参加</span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 单图样式招聘会 -->
        <div class="fair-card single-image">
            <div class="image-container">
                <div class="fair-image">
                    <img src="https://picsum.photos/id/180/800/400" alt="线上招聘会">
                </div>
            </div>
            <div class="fair-content">
                <span class="fair-status status-live">正在进行</span>
                <h3 class="fair-title">2023互联网行业专场线上招聘会</h3>
                <div class="fair-meta">
                    <div class="meta-item">
                        <i class="far fa-calendar-alt"></i>
                        <span>10月25日 09:00-21:00</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-globe"></i>
                        <span>线上直播</span>
                    </div>
                </div>
                <div class="fair-tags">
                    <span class="fair-tag">IT互联网</span>
                    <span class="fair-tag">线上</span>
                    <span class="fair-tag">名企</span>
                </div>
                <div class="fair-stats">
                    <div class="stat-item">
                        <i class="fas fa-building"></i>
                        <span>86家企业</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-user-friends"></i>
                        <span>8752人已报名</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-eye"></i>
                        <span>32458人正在观看</span>
                    </div>
                </div>
                <div class="fair-actions">
                    <button class="action-btn btn-outline">
                        <i class="far fa-share-square"></i>
                        <span>分享</span>
                    </button>
                    <button class="action-btn btn-primary">
                        <i class="fas fa-sign-in-alt"></i>
                        <span>进入会场</span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 无图样式招聘会 -->
        <div class="fair-card no-image">
            <div class="fair-content">
                <span class="fair-status status-upcoming">即将开始</span>
                <h3 class="fair-title">2023金融行业精英人才专场招聘会</h3>
                <div class="fair-meta">
                    <div class="meta-item">
                        <i class="far fa-calendar-alt"></i>
                        <span>11月5日 10:00-17:00</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-map-marker-alt"></i>
                        <span>上海金融中心</span>
                    </div>
                </div>
                <div class="fair-tags">
                    <span class="fair-tag">金融</span>
                    <span class="fair-tag">线下</span>
                    <span class="fair-tag">高端</span>
                </div>
                <div class="fair-stats">
                    <div class="stat-item">
                        <i class="fas fa-building"></i>
                        <span>126家企业</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-user-friends"></i>
                        <span>3256人已报名</span>
                    </div>
                    <div class="stat-item">
                        <i class="fas fa-briefcase"></i>
                        <span>1856个岗位</span>
                    </div>
                </div>
                <div class="fair-actions">
                    <button class="action-btn btn-outline">
                        <i class="far fa-bell"></i>
                        <span>提醒我</span>
                    </button>
                    <button class="action-btn btn-primary">
                        <i class="fas fa-ticket-alt"></i>
                        <span>报名参加</span>
                    </button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 空状态 -->
    <div class="empty-state" id="emptyState">
        <div class="empty-icon">
            <i class="fas fa-search"></i>
        </div>
        <div class="empty-text">没有找到符合条件的招聘会</div>
        <button class="empty-btn" id="clearAllFilters">清除筛选条件</button>
    </div>
    
    <!-- 高级筛选抽屉 - 第三种筛选样式 -->
    <div class="overlay" id="filterOverlay"></div>
    <div class="filter-drawer" id="filterDrawer">
        <div class="drawer-header">
            <div class="drawer-title">高级筛选</div>
            <button class="drawer-close" id="closeDrawer">
                <i class="fas fa-times"></i>
            </button>
        </div>
        
        <div class="drawer-content">
            <div class="filter-section">
                <div class="section-title">
                    <i class="far fa-calendar-alt"></i>
                    <span>举办时间</span>
                </div>
                <div class="options-grid">
                    <button class="filter-option active">全部时间</button>
                    <button class="filter-option">今天</button>
                    <button class="filter-option">明天</button>
                    <button class="filter-option">本周内</button>
                    <button class="filter-option">下周</button>
                    <button class="filter-option">本月内</button>
                    <button class="filter-option">自定义</button>
                </div>
                <div class="date-range" style="display: none;">
                    <input type="date" class="date-input" id="startDate">
                    <input type="date" class="date-input" id="endDate">
                </div>
            </div>
            
            <div class="filter-section">
                <div class="section-title">
                    <i class="fas fa-map-marker-alt"></i>
                    <span>举办地点</span>
                </div>
                <div class="options-grid">
                    <button class="filter-option active">全部地点</button>
                    <button class="filter-option">线上</button>
                    <button class="filter-option">北京</button>
                    <button class="filter-option">上海</button>
                    <button class="filter-option">广州</button>
                    <button class="filter-option">深圳</button>
                    <button class="filter-option">杭州</button>
                    <button class="filter-option">成都</button>
                    <button class="filter-option">武汉</button>
                    <button class="filter-option">南京</button>
                </div>
            </div>
            
            <div class="filter-section">
                <div class="section-title">
                    <i class="fas fa-industry"></i>
                    <span>行业类型</span>
                </div>
                <div class="options-grid">
                    <button class="filter-option active">全部行业</button>
                    <button class="filter-option">IT互联网</button>
                    <button class="filter-option">金融</button>
                    <button class="filter-option">教育</button>
                    <button class="filter-option">医疗健康</button>
                    <button class="filter-option">制造业</button>
                    <button class="filter-option">零售</button>
                    <button class="filter-option">服务业</button>
                    <button class="filter-option">房地产</button>
                </div>
            </div>
            
            <div class="filter-section">
                <div class="section-title">
                    <i class="fas fa-users"></i>
                    <span>招聘会规模</span>
                </div>
                <div class="options-grid">
                    <button class="filter-option active">全部规模</button>
                    <button class="filter-option">50家以下</button>
                    <button class="filter-option">50-100家</button>
                    <button class="filter-option">100-300家</button>
                    <button class="filter-option">300-500家</button>
                    <button class="filter-option">500家以上</button>
                </div>
            </div>
            
            <div class="filter-section">
                <div class="section-title">
                    <i class="fas fa-briefcase"></i>
                    <span>岗位类型</span>
                </div>
                <div class="options-grid">
                    <button class="filter-option active">全部岗位</button>
                    <button class="filter-option">全职</button>
                    <button class="filter-option">兼职</button>
                    <button class="filter-option">实习</button>
                    <button class="filter-option">应届生</button>
                    <button class="filter-option">社会招聘</button>
                </div>
            </div>
        </div>
        
        <div class="drawer-actions">
            <button class="drawer-btn reset-btn" id="resetFilters">重置</button>
            <button class="drawer-btn apply-btn" id="applyFilters">确认筛选</button>
        </div>
    </div>
    
    <!-- 底部导航 -->
    <div class="bottom-nav">
        <a href="#" class="nav-item">
            <i class="fas fa-home nav-icon"></i>
            <span>首页</span>
        </a>
        <a href="#" class="nav-item active">
            <i class="fas fa-calendar-alt nav-icon"></i>
            <span>招聘会</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-briefcase nav-icon"></i>
            <span>职位</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-user nav-icon"></i>
            <span>我的</span>
        </a>
    </div>
    
    <!-- 提示消息 -->
    <div class="toast" id="toast"></div>
    
    <!-- Bootstrap JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // DOM元素
        const backBtn = document.getElementById('backBtn');
        const advancedFilterBtn = document.getElementById('advancedFilterBtn');
        const filterDrawer = document.getElementById('filterDrawer');
        const filterOverlay = document.getElementById('filterOverlay');
        const closeDrawer = document.getElementById('closeDrawer');
        const resetFiltersBtn = document.getElementById('resetFilters');
        const applyFiltersBtn = document.getElementById('applyFilters');
        const filterTags = document.querySelectorAll('.filter-tag');
        const categoryItems = document.querySelectorAll('.category-item');
        const filterOptions = document.querySelectorAll('.filter-option');
        const customDateOption = document.querySelector('.filter-option:nth-child(7)');
        const dateRange = document.querySelector('.date-range');
        const startDateInput = document.getElementById('startDate');
        const endDateInput = document.getElementById('endDate');
        const emptyState = document.getElementById('emptyState');
        const fairList = document.getElementById('fairList');
        const activeFilters = document.getElementById('activeFilters');
        const clearAllBtn = document.querySelector('.clear-all');
        const clearAllFiltersBtn = document.getElementById('clearAllFilters');
        const toast = document.getElementById('toast');
        
        // 筛选条件存储
        let currentFilters = {
            category: '全部',
            time: '全部时间',
            location: '全部地点',
            industry: '全部行业',
            scale: '全部规模',
            jobType: '全部岗位',
            dateRange: null
        };
        
        // 返回按钮
        backBtn.addEventListener('click', () => {
            history.back();
        });
        
        // 高级筛选抽屉控制
        advancedFilterBtn.addEventListener('click', () => {
            filterDrawer.classList.add('open');
            filterOverlay.classList.add('show');
            document.body.style.overflow = 'hidden';
        });
        
        function closeFilterDrawer() {
            filterDrawer.classList.remove('open');
            filterOverlay.classList.remove('show');
            document.body.style.overflow = '';
        }
        
        closeDrawer.addEventListener('click', closeFilterDrawer);
        filterOverlay.addEventListener('click', closeFilterDrawer);
        
        // 自定义日期选项切换
        customDateOption.addEventListener('click', function() {
            const timeOptions = document.querySelectorAll('.filter-section:nth-child(1) .filter-option');
            timeOptions.forEach(option => option.classList.remove('active'));
            this.classList.add('active');
            dateRange.style.display = this.classList.contains('active') ? 'flex' : 'none';
        });
        
        // 其他日期选项点击时隐藏自定义日期
        document.querySelectorAll('.filter-section:nth-child(1) .filter-option:not(:nth-child(7))').forEach(option => {
            option.addEventListener('click', () => {
                dateRange.style.display = 'none';
            });
        });
        
        // 筛选选项点击 - 高级筛选抽屉内
        filterOptions.forEach(option => {
            option.addEventListener('click', function() {
                if (!this.textContent.includes('自定义')) {
                    const parentSection = this.closest('.options-grid');
                    parentSection.querySelectorAll('.filter-option').forEach(opt => {
                        opt.classList.remove('active');
                    });
                    this.classList.add('active');
                }
            });
        });
        
        // 分类筛选点击
        categoryItems.forEach(item => {
            item.addEventListener('click', function() {
                categoryItems.forEach(i => i.classList.remove('active'));
                this.classList.add('active');
                currentFilters.category = this.textContent;
                updateActiveFilters();
                applyFilters();
            });
        });
        
        // 标签筛选点击
        filterTags.forEach(tag => {
            tag.addEventListener('click', function() {
                // 判断是时间筛选还是地点筛选
                const isTimeFilter = Array.from(this.parentElement.parentElement.classList).includes('filter-tags') && 
                                    this.querySelector('.icon')?.classList.contains('fa-clock');
                
                const isLocationFilter = Array.from(this.parentElement.parentElement.classList).includes('filter-tags') && 
                                       (this.querySelector('.icon')?.classList.contains('fa-map-marker-alt') || 
                                        this.querySelector('.icon')?.classList.contains('fa-globe'));
                
                // 同组内只能选中一个
                if (isTimeFilter || isLocationFilter) {
                    const siblings = Array.from(this.parentElement.children);
                    siblings.forEach(sib => sib.classList.remove('active'));
                    this.classList.add('active');
                    
                    // 更新筛选条件
                    if (isTimeFilter) {
                        currentFilters.time = this.querySelector('span').textContent;
                    } else if (isLocationFilter) {
                        currentFilters.location = this.querySelector('span').textContent;
                    }
                    
                    updateActiveFilters();
                    applyFilters();
                }
            });
        });
        
        // 重置筛选条件
        resetFiltersBtn.addEventListener('click', () => {
            // 重置所有筛选选项
            filterOptions.forEach(option => {
                option.classList.remove('active');
                if (option.textContent === '全部时间' || 
                    option.textContent === '全部地点' || 
                    option.textContent === '全部行业' || 
                    option.textContent === '全部规模' || 
                    option.textContent === '全部岗位') {
                    option.classList.add('active');
                }
            });
            
            // 重置分类和标签筛选
            categoryItems.forEach(item => {
                item.classList.remove('active');
                if (item.textContent === '全部') {
                    item.classList.add('active');
                }
            });
            
            filterTags.forEach(tag => {
                tag.classList.remove('active');
                if ((tag.textContent.includes('全部时间') || tag.textContent.includes('全部地点')) &&
                    !tag.querySelector('.icon')) {
                    tag.classList.add('active');
                }
            });
            
            // 隐藏日期选择器
            dateRange.style.display = 'none';
            startDateInput.value = '';
            endDateInput.value = '';
            
            // 重置筛选条件对象
            currentFilters = {
                category: '全部',
                time: '全部时间',
                location: '全部地点',
                industry: '全部行业',
                scale: '全部规模',
                jobType: '全部岗位',
                dateRange: null
            };
            
            updateActiveFilters();
            showToast('已重置筛选条件');
        });
        
        // 确认应用筛选条件
        applyFiltersBtn.addEventListener('click', () => {
            // 收集选中的筛选条件
            const sections = document.querySelectorAll('.filter-section');
            
            // 时间筛选
            const timeOption = sections[0].querySelector('.filter-option.active');
            currentFilters.time = timeOption.textContent;
            
            // 处理自定义日期
            if (timeOption.textContent === '自定义' && startDateInput.value && endDateInput.value) {
                currentFilters.dateRange = {
                    start: startDateInput.value,
                    end: endDateInput.value
                };
            } else {
                currentFilters.dateRange = null;
            }
            
            // 地点筛选
            const locationOption = sections[1].querySelector('.filter-option.active');
            currentFilters.location = locationOption.textContent;
            
            // 行业筛选
            const industryOption = sections[2].querySelector('.filter-option.active');
            currentFilters.industry = industryOption.textContent;
            
            // 规模筛选
            const scaleOption = sections[3].querySelector('.filter-option.active');
            currentFilters.scale = scaleOption.textContent;
            
            // 岗位类型筛选
            const jobTypeOption = sections[4].querySelector('.filter-option.active');
            currentFilters.jobType = jobTypeOption.textContent;
            
            // 更新标签筛选的选中状态
            updateTagFilters();
            
            closeFilterDrawer();
            updateActiveFilters();
            applyFilters();
            
            // 统计筛选条件数量
            const filterCount = Object.values(currentFilters).filter(v => v !== '全部' && v !== '全部时间' && 
                                                                         v !== '全部地点' && v !== null).length;
            showToast(`已应用 ${filterCount} 个筛选条件`);
        });
        
        // 更新标签筛选的选中状态
        function updateTagFilters() {
            // 更新时间标签
            filterTags.forEach(tag => {
                if (tag.querySelector('span').textContent === currentFilters.time && 
                    tag.querySelector('.icon')?.classList.contains('fa-clock')) {
                    const siblings = Array.from(tag.parentElement.children);
                    siblings.forEach(sib => sib.classList.remove('active'));
                    tag.classList.add('active');
                }
                
                // 更新地点标签
                if (tag.querySelector('span').textContent === currentFilters.location && 
                    (tag.querySelector('.icon')?.classList.contains('fa-map-marker-alt') || 
                     tag.querySelector('.icon')?.classList.contains('fa-globe'))) {
                    const siblings = Array.from(tag.parentElement.children);
                    siblings.forEach(sib => sib.classList.remove('active'));
                    tag.classList.add('active');
                }
            });
        }
        
        // 更新已选筛选条件显示
        function updateActiveFilters() {
            // 清空现有标签
            const filterTagsContainer = activeFilters.querySelector('.active-filter-tag') 
                ? activeFilters : document.createElement('div');
            
            // 清除现有子元素，保留清除按钮
            const clearBtn = activeFilters.querySelector('.clear-all');
            activeFilters.innerHTML = '';
            if (clearBtn) activeFilters.appendChild(clearBtn);
            
            // 收集并添加活跃的筛选条件
            let hasActiveFilters = false;
            
            if (currentFilters.category && currentFilters.category !== '全部') {
                addActiveFilterTag('类型', currentFilters.category, 'category');
                hasActiveFilters = true;
            }
            
            if (currentFilters.time && currentFilters.time !== '全部时间') {
                addActiveFilterTag('时间', currentFilters.time, 'time');
                hasActiveFilters = true;
            }
            
            if (currentFilters.location && currentFilters.location !== '全部地点') {
                addActiveFilterTag('地点', currentFilters.location, 'location');
                hasActiveFilters = true;
            }
            
            if (currentFilters.industry && currentFilters.industry !== '全部行业') {
                addActiveFilterTag('行业', currentFilters.industry, 'industry');
                hasActiveFilters = true;
            }
            
            if (currentFilters.scale && currentFilters.scale !== '全部规模') {
                addActiveFilterTag('规模', currentFilters.scale, 'scale');
                hasActiveFilters = true;
            }
            
            if (currentFilters.jobType && currentFilters.jobType !== '全部岗位') {
                addActiveFilterTag('岗位', currentFilters.jobType, 'jobType');
                hasActiveFilters = true;
            }
            
            if (currentFilters.dateRange) {
                const dateText = `${currentFilters.dateRange.start} 至 ${currentFilters.dateRange.end}`;
                addActiveFilterTag('日期', dateText, 'dateRange');
                hasActiveFilters = true;
            }
            
            // 显示或隐藏已选筛选条件区域
            if (hasActiveFilters) {
                activeFilters.classList.add('show');
            } else {
                activeFilters.classList.remove('show');
            }
        }
        
        // 添加已选筛选标签
        function addActiveFilterTag(type, value, key) {
            const tag = document.createElement('div');
            tag.className = 'active-filter-tag';
            tag.innerHTML = `
                <span>${type}: ${value}</span>
                <button class="remove-filter" data-key="${key}"><i class="fas fa-times"></i></button>
            `;
            
            // 添加到容器，在清除按钮之前
            const clearBtn = activeFilters.querySelector('.clear-all');
            activeFilters.insertBefore(tag, clearBtn);
            
            // 绑定删除事件
            tag.querySelector('.remove-filter').addEventListener('click', function() {
                const filterKey = this.getAttribute('data-key');
                removeFilter(filterKey);
            });
        }
        
        // 移除单个筛选条件
        function removeFilter(key) {
            // 重置对应筛选条件
            switch(key) {
                case 'category':
                    currentFilters.category = '全部';
                    categoryItems.forEach(item => {
                        item.classList.remove('active');
                        if (item.textContent === '全部') item.classList.add('active');
                    });
                    break;
                case 'time':
                    currentFilters.time = '全部时间';
                    updateTagFilters();
                    break;
                case 'location':
                    currentFilters.location = '全部地点';
                    updateTagFilters();
                    break;
                case 'industry':
                    currentFilters.industry = '全部行业';
                    break;
                case 'scale':
                    currentFilters.scale = '全部规模';
                    break;
                case 'jobType':
                    currentFilters.jobType = '全部岗位';
                    break;
                case 'dateRange':
                    currentFilters.dateRange = null;
                    currentFilters.time = '全部时间';
                    break;
            }
            
            // 更新高级筛选抽屉中的选中状态
            updateAdvancedFilterOptions();
            
            // 更新已选筛选条件显示
            updateActiveFilters();
            
            // 应用筛选
            applyFilters();
            
            showToast('已移除筛选条件');
        }
        
        // 更新高级筛选抽屉中的选项状态
        function updateAdvancedFilterOptions() {
            const sections = document.querySelectorAll('.filter-section');
            
            // 更新时间选项
            sections[0].querySelectorAll('.filter-option').forEach(option => {
                option.classList.remove('active');
                if (option.textContent === currentFilters.time) {
                    option.classList.add('active');
                }
            });
            
            // 更新地点选项
            sections[1].querySelectorAll('.filter-option').forEach(option => {
                option.classList.remove('active');
                if (option.textContent === currentFilters.location) {
                    option.classList.add('active');
                }
            });
            
            // 更新行业选项
            sections[2].querySelectorAll('.filter-option').forEach(option => {
                option.classList.remove('active');
                if (option.textContent === currentFilters.industry) {
                    option.classList.add('active');
                }
            });
            
            // 更新规模选项
            sections[3].querySelectorAll('.filter-option').forEach(option => {
                option.classList.remove('active');
                if (option.textContent === currentFilters.scale) {
                    option.classList.add('active');
                }
            });
            
            // 更新岗位类型选项
            sections[4].querySelectorAll('.filter-option').forEach(option => {
                option.classList.remove('active');
                if (option.textContent === currentFilters.jobType) {
                    option.classList.add('active');
                }
            });
        }
        
        // 清除所有筛选条件
        function clearAllFilters() {
            // 重置所有筛选条件
            currentFilters = {
                category: '全部',
                time: '全部时间',
                location: '全部地点',
                industry: '全部行业',
                scale: '全部规模',
                jobType: '全部岗位',
                dateRange: null
            };
            
            // 重置UI
            categoryItems.forEach(item => {
                item.classList.remove('active');
                if (item.textContent === '全部') item.classList.add('active');
            });
            
            filterTags.forEach(tag => {
                tag.classList.remove('active');
                if ((tag.textContent.includes('全部时间') || tag.textContent.includes('全部地点')) &&
                    !tag.querySelector('.icon')) {
                    tag.classList.add('active');
                }
            });
            
            updateAdvancedFilterOptions();
            dateRange.style.display = 'none';
            startDateInput.value = '';
            endDateInput.value = '';
            
            // 更新已选筛选条件显示
            updateActiveFilters();
            
            // 应用筛选
            applyFilters();
            
            showToast('已清除所有筛选条件');
        }
        
        clearAllBtn.addEventListener('click', clearAllFilters);
        clearAllFiltersBtn.addEventListener('click', clearAllFilters);
        
        // 应用筛选条件（实际项目中这里会发送请求获取数据）
        function applyFilters() {
            // 模拟筛选逻辑
            const fairCards = document.querySelectorAll('.fair-card');
            let visibleCount = 0;
            
            // 简单模拟筛选效果：筛选条件越多，显示的卡片越少
            const filterCount = Object.values(currentFilters).filter(v => v !== '全部' && v !== '全部时间' && 
                                                                         v !== '全部地点' && v !== null).length;
            
            fairCards.forEach((card, index) => {
                if (filterCount > 3 && index > 0) {
                    card.style.display = 'none';
                } else if (filterCount > 2 && index > 1) {
                    card.style.display = 'none';
                } else if (filterCount > 0 && index > 2) {
                    card.style.display = 'none';
                } else {
                    card.style.display = 'block';
                    visibleCount++;
                }
            });
            
            // 显示空状态或列表
            if (visibleCount === 0) {
                fairList.style.display = 'none';
                emptyState.classList.add('active');
            } else {
                fairList.style.display = 'block';
                emptyState.classList.remove('active');
            }
        }
        
        // 搜索功能
        document.querySelector('.search-input').addEventListener('input', function(e) {
            const searchText = e.target.value.toLowerCase().trim();
            const fairCards = document.querySelectorAll('.fair-card');
            let visibleCount = 0;
            
            if (searchText) {
                fairCards.forEach(card => {
                    const title = card.querySelector('.fair-title').textContent.toLowerCase();
                    const tags = Array.from(card.querySelectorAll('.fair-tag')).map(t => t.textContent.toLowerCase());
                    
                    if (title.includes(searchText) || tags.some(t => t.includes(searchText))) {
                        card.style.display = 'block';
                        visibleCount++;
                    } else {
                        card.style.display = 'none';
                    }
                });
                
                // 显示空状态或列表
                if (visibleCount === 0) {
                    fairList.style.display = 'none';
                    emptyState.classList.add('active');
                } else {
                    fairList.style.display = 'block';
                    emptyState.classList.remove('active');
                }
                
                showToast(`找到 ${visibleCount} 个相关结果`);
            } else {
                // 搜索为空时恢复筛选状态
                applyFilters();
            }
        });
        
        // 招聘会操作按钮
        document.querySelectorAll('.action-btn.btn-primary:not([disabled])').forEach(btn => {
            btn.addEventListener('click', function() {
                const actionText = this.querySelector('span').textContent;
                const fairTitle = this.closest('.fair-card').querySelector('.fair-title').textContent;
                
                if (actionText === '报名参加') {
                    showToast(`已成功报名 "${fairTitle}"`);
                    this.innerHTML = '<i class="fas fa-check"></i><span>已报名</span>';
                    this.disabled = true;
                    this.style.opacity = '0.7';
                } else if (actionText === '进入会场') {
                    showToast(`正在进入 "${fairTitle}" 会场`);
                }
            });
        });
        
        // 提醒按钮
        document.querySelectorAll('.action-btn.btn-outline').forEach(btn => {
            btn.addEventListener('click', function() {
                if (this.querySelector('span').textContent === '提醒我') {
                    showToast('已设置提醒');
                    this.innerHTML = '<i class="fas fa-bell"></i><span>已提醒</span>';
                } else if (this.querySelector('span').textContent === '分享') {
                    showToast('分享成功');
                }
            });
        });
        
        // 提示消息功能
        function showToast(message) {
            toast.textContent = message;
            toast.classList.add('show');
            
            setTimeout(() => {
                toast.classList.remove('show');
            }, 2000);
        }
    </script>
</body>
</html>

